package com.aracky.system.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.aracky.common.excel.LocalDateStringConverter;
import io.swagger.models.auth.In;
import javafx.util.converter.IntegerStringConverter;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * 作者：HP025
 * 日期：2022/8/11
 * 时间：11:00
 * 描述：员工考核表头导出对象类
 **/
@Data
public class HrKpiUserPerformanceTableHeaderExport implements Serializable {

    private String deptName;

    private String postName;

    private String userName;

    private String performanceTypeName;

    private String performancePeriod;

    @ExcelProperty(converter = LocalDateStringConverter.class)
    private LocalDate endWriteDate;

    @ExcelProperty(converter = LocalDateStringConverter.class)
    private LocalDate endAssessorDate;

    private Integer weightPercent1;

    private String assessor1Name;

    private String assessor2Name;

    private Integer weightPercent2;

    private Decimal assessor1Total;

    private Decimal assessor2Total;

    private Decimal total;

    private List<HrKpiUserPerformanceTableDetailExport> hrKpiUserPerformanceTableDetailExportList;
}
